package org.example.server.product.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.server.product.bean.CategoryBean;

import java.util.List;

@Mapper
public interface CategoryMapper {

    List<CategoryBean> select(CategoryBean categoryBean);

    int insert(CategoryBean categoryBean);

    int delete(CategoryBean categoryBean);

    CategoryBean selectOne(CategoryBean categoryBean);

    int update(CategoryBean categoryBean);
}
